﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="OfficesOnlyAr.ascx.cs" Inherits="UControlsBase_OfficesOnlyAr" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <ajaxtoolkit:ListSearchExtender ID="ListSearchExtender1" runat="server" 
            TargetControlID="DropDownList2" PromptText="ابحث باسم المكتب">
        </ajaxtoolkit:ListSearchExtender>        
        <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" DataSourceID="CityEgyptDataSource"
            DataTextField="CityNameAr" DataValueField="City_id" 
            AppendDataBoundItems="True" CssClass="MeMe" Height="18px" Width="200px">
            <asp:ListItem Selected="True" Value="-1">أختر البلد</asp:ListItem>
        </asp:DropDownList>
        <asp:ObjectDataSource ID="CityEgyptDataSource" runat="server"
            OldValuesParameterFormatString="original_{0}" SelectMethod="GetAllEcsOffice"
            TypeName="SiteECSWeb.EcsOfficeBLL"></asp:ObjectDataSource>
    </ContentTemplate>
</asp:UpdatePanel>